<!DOCTYPE html PUBLIC"-//W3C//DTD HTML 4.0 Transitional//EN"> 
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <link rel="stylesheet" type="text/css" href="css/style.css" media="screen" />
        <title>Home Survey</title>
        <script language="javascript">
            function Checkform() {
                var email = document.getElementsByName("txtEmail")[0].value;
                var password = document.getElementsByName("txtPassword")[0].value;
                if (email === "" || password === "") {
                    alert("Please fill Email and Password!");
                    return false;
                } else {
                    return true;
                }
            }
            function SendPassword() {
                alert("The password is sent!");
            }
        </script>

    </head>
    <body class="body">
        <header class="header">
            <div class="header_content">GROW</div>
        </header>
        <form name="mainform" action="bus/AdminLogin.php" method="post" class="main_form" onsubmit="return Checkform();">
            <div class="main_content">
                <div class="slogan">
                    <strong>Sign in to the Grow</strong> 
                </div>
                <br/>
                <div class="content">
                    <div class="div_row_label"> 
                        <label class="label">Email Address:</label> 
                    </div>
                    <div class="div_row_input">
                        <input type="text" name="txtEmail" class="input"/>    
                    </div>
                    <div class="div_row_label">
                        <label class="label">Password:</label>                                                             
                    </div>
                    <div class="div_row_input">
                        <input type="password" name="txtPassword"  class="input"/> 
                    </div>
                    <div  class="div_row_button">   
                        <input type="submit" id ="submit" class="button" value="Sign in"/>                     
                        <a href="javascript:SendPassword()" class="hyperlink">Forgot the Password?</a>
                    </div> 
                </div> 
            </div>
        </form> 
    </body>
</html>
